<?php

namespace app\models\user\gs;

use Yii;

/**
 * This is the model class for table "{{%users_huanjing_gs}}".
 *
 * @property int $id
 * @property int|null $uid
 * @property string|null $zongjingban 总经办
 * @property string|null $xiaoshoubu 销售部
 * @property string|null $zhaoshangbu 招商部
 * @property string|null $dianshangbu 电商部
 * @property string|null $shejibu 设计部
 * @property string|null $jishubu 技术部
 * @property string|null $caigoubu 采购部
 * @property string|null $shengchanbu 生产部
 * @property string|null $waifabu 外发部
 * @property string|null $caiwubu 财务部
 * @property string|null $xingzhengbu 行政部
 * @property string|null $renshibu 人事部
 * @property string|null $pinkongbu 品控部
 * @property string|null $wuliubu 物流部
 * @property string|null $cangchubu 仓储部
 * @property string|null $huiyishi 会议室
 * @property string|null $zhanshiting 展示厅
 * @property int|null $time 创建时间
 */
class UsersHuanjingGs extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%users_huanjing_gs}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid', 'time'], 'integer'],
            [['zongjingban', 'xiaoshoubu', 'zhaoshangbu', 'dianshangbu', 'shejibu', 'jishubu', 'caigoubu', 'shengchanbu', 'waifabu', 'caiwubu', 'xingzhengbu', 'renshibu', 'pinkongbu', 'wuliubu', 'cangchubu', 'huiyishi', 'zhanshiting'], 'string'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'zongjingban' => '总经办',
            'xiaoshoubu' => '销售部',
            'zhaoshangbu' => '招商部',
            'dianshangbu' => '电商部',
            'shejibu' => '设计部',
            'jishubu' => '技术部',
            'caigoubu' => '采购部',
            'shengchanbu' => '生产部',
            'waifabu' => '外发部',
            'caiwubu' => '财务部',
            'xingzhengbu' => '行政部',
            'renshibu' => '人事部',
            'pinkongbu' => '品控部',
            'wuliubu' => '物流部',
            'cangchubu' => '仓储部',
            'huiyishi' => '会议室',
            'zhanshiting' => '展示厅',
            'time' => 'Time',
        ];
    }
}
